package com.gaoxin.api.entity.stuentity;

import org.springframework.stereotype.Component;

/**
 * 学生家庭信息实体类
 *
 * @author fanyue
 * @email 859485490@qq.com
 * @date 2018-07-12 15:21
 */
@Component
public class FamilyInfoEntity {

	private String stuCode;

	private String guardian; // 监护人姓名

	private String relation; // 关系

	private String job; // 监护人职业

	private String tel; // 监护人联系方式

	private String workPlace; // 监护人工作单位

	public String getStuCode() {
		return stuCode;
	}

	public void setStuCode(String stuCode) {
		this.stuCode = stuCode;
	}

	public String getGuardian() {
		return guardian == null ? "" : guardian;
	}

	public void setGuardian(String guardian) {
		this.guardian = guardian;
	}

	public String getRelation() {
		return relation == null ? "" : relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public String getJob() {
		return job == null ? "" : job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getTel() {
		return tel == null ? "" : tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getWorkPlace() {
		return workPlace == null ? "" : workPlace;
	}

	public void setWorkPlace(String workPlace) {
		this.workPlace = workPlace;
	}

	@Override
	public String toString() {
		return "FamilyInfoEntity [stuCode=" + stuCode + ", guardian=" + guardian + ", relation=" + relation + ", job="
				+ job + ", tel=" + tel + ", workPlace=" + workPlace + "]";
	}

}
